# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-pce-fast
pkgver=0_git20200319
pkgrel=0
_commit="019179ce335b68a22dcba94ae6c51cad8135ee16"
pkgdesc="standalone fork of Mednafen PCE Fast to libretro"
url="https://github.com/libretro/beetle-pce-fast-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-pce-fast-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-pce-fast-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_pce_fast_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_pce_fast_libretro.so
}

sha512sums="acd3bb11d2c2bbb94bc8a9525539d4940223181844297240b343ff59324392a2899852e6951620495277eaa5b88d057601fe6a080ae28a045e3a184e09f0e259  libretro-beetle-pce-fast-019179ce335b68a22dcba94ae6c51cad8135ee16.tar.gz"
